import {ElNotification} from "element-plus";
import ExportNotification from "@/views/asset/report/category/exportNotification.vue";


function exportFile(downloadPath) {
    ElNotification({
        title: '导出文件准备完成',
        message: h(ExportNotification, {
            downloadPath: downloadPath
        }),
        type: 'success',
    })
}

export default {
    // 导出Excel
    exportExcel: function (downloadPath) {
        exportFile(downloadPath);
    }
}